package com.example.course.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 教师视图对象
 *
 * @author Jasmine-drs
 * @date 2025/4/23 12:00
 */
@Data
@ApiModel("教师信息")
public class TeacherVO {

	@ApiModelProperty(value = "教师ID")
	private Integer id;

	@ApiModelProperty(value = "教师姓名")
	private String name;

	@ApiModelProperty(value = "手机号")
	private String phone;

	@ApiModelProperty(value = "性别，0-女，1-男，用作身份辨识")
	private Integer sex;

	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createTime;

	@ApiModelProperty(value = "更新时间")
	private LocalDateTime updateTime;

	@ApiModelProperty(value = "token令牌，仅登录时返回")
	private String token;
} 